package com.lingkang.flychat.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

import java.util.Date;

@Entity
public class User {
    @Id
    private Long id;

    private String username;

    private String name;

    private String autograph;

    private String img;

    private Integer sex;

    private String birthday;

    private Integer status;

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", name='" + name + '\'' +
                ", autograph='" + autograph + '\'' +
                ", img='" + img + '\'' +
                ", sex=" + sex +
                ", birthday='" + birthday + '\'' +
                ", status=" + status +
                '}';
    }

    @Generated(hash = 1818771470)
    public User(Long id, String username, String name, String autograph, String img,
            Integer sex, String birthday, Integer status) {
        this.id = id;
        this.username = username;
        this.name = name;
        this.autograph = autograph;
        this.img = img;
        this.sex = sex;
        this.birthday = birthday;
        this.status = status;
    }

    @Generated(hash = 586692638)
    public User() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return this.username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAutograph() {
        return this.autograph;
    }

    public void setAutograph(String autograph) {
        this.autograph = autograph;
    }

    public String getImg() {
        return this.img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Integer getSex() {
        return this.sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getBirthday() {
        return this.birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public Integer getStatus() {
        return this.status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

}